﻿#ifndef CAMERAITEM_H
#define CAMERAITEM_H

#include <QThread>
#include "cameraProvider.h"


class CameraItem : public QThread
{
    Q_OBJECT

public:
    CameraItem();

    virtual void start() = 0;
    virtual void stop() = 0;

    virtual void connectCamera() = 0;
    virtual void logout() = 0;

    virtual void setProvider(QSharedPointer<CameraImageProvider> provider) = 0;
    virtual void clearProvider() = 0;

    virtual bool getIsConnected() = 0;

private:
    virtual void run() = 0;

signals:
    void sigIsConnectedChanged();
    void sigRefresh(QString);



};

#endif // CAMERAITEM_H
